<%-- 
    Document   : main
    Created on : 2018-11-1, 10:21:51
    Author     : SakuraSora
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    pageContext.setAttribute("contextPath", request.getContextPath());
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>主页</title>
    </head>
    <body>
        <h1>登录成功</h1>
        <form action="${contextPath}/fileUpload.htm" method="post" enctype="multipart/form-data">
            <input type="file" name="file"/><input type="submit" value="上传"/>
        </form> <!-- 文件上传表单要设置： enctype="multipart/form-data"-->
    </body>
</html>
